﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DB_EntityFramework
{
    public class Vacancy
    {
        [Key]
        public int Id { get; set; }
        [Required]
        public string Name { get; set; }
        [Required]
        public decimal Salary { get; set; }
        [Required]
        public string Demands { get; set; }
        [Required]
        public string Job_Description { get; set; }

        public List<UserLanguage> UserLanguages { get; set; }
        public virtual WorkOnSections Section { get; set; }
        public virtual Employer CurrentEmployer { get; set; }
    }
}
